home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML 2.0 Sourcebook (2nd Edition)
/
VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso
/
book
/
unix
/
ch17
/
17fig13.wrl
< prev
next >
Wrap
Text File
|
1996-09-22
|
517b
|
25 lines
#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright [1997] By
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Shape {
appearance Appearance {
material Material { }
texture PixelTexture {
image 1 2 3 # width, height, 3-byte RGB image
0xFFFF00 # yellow at the bottom
0xFF0000 # red at the top
}
}
geometry IndexedFaceSet {
coord Coordinate {
point [
-1.5 -1.0 0.0, 1.5 -1.0 0.0,
1.5 1.0 0.0, -1.5 1.0 0.0,
]
}
coordIndex [ 0, 1, 2, 3 ]
solid FALSE
}
}